.def("join", &MdApi::join)
.def("reqGetConnectionInfo", &MdApi::reqGetConnectionInfo)
.def("reqUserLogin", &MdApi::reqUserLogin)
.def("reqUserLogout", &MdApi::reqUserLogout)
.def("subscribeMarketData", &MdApi::subscribeMarketData)
.def("unSubscribeMarketData", &MdApi::unSubscribeMarketData)
.def("subscribePHMarketData", &MdApi::subscribePHMarketData)
.def("unSubscribePHMarketData", &MdApi::unSubscribePHMarketData)
.def("subscribeSpecialMarketData", &MdApi::subscribeSpecialMarketData)
.def("unSubscribeSpecialMarketData", &MdApi::unSubscribeSpecialMarketData)
.def("subscribeSimplifyMarketData", &MdApi::subscribeSimplifyMarketData)
.def("unSubscribeSimplifyMarketData", &MdApi::unSubscribeSimplifyMarketData)
.def("subscribeSecurityStatus", &MdApi::subscribeSecurityStatus)
.def("unSubscribeSecurityStatus", &MdApi::unSubscribeSecurityStatus)
.def("subscribeMarketStatus", &MdApi::subscribeMarketStatus)
.def("unSubscribeMarketStatus", &MdApi::unSubscribeMarketStatus)
.def("subscribeImcParams", &MdApi::subscribeImcParams)
.def("unSubscribeImcParams", &MdApi::unSubscribeImcParams)
.def("reqInquiryMarketDataMirror", &MdApi::reqInquiryMarketDataMirror)
.def("reqInquiryPHMarketDataMirror", &MdApi::reqInquiryPHMarketDataMirror)
.def("reqInquirySpecialMarketDataMirror", &MdApi::reqInquirySpecialMarketDataMirror)
.def("subscribeSPMarketData", &MdApi::subscribeSPMarketData)
.def("unSubscribeSPMarketData", &MdApi::unSubscribeSPMarketData)
.def("subscribeSPSimplifyMarketData", &MdApi::subscribeSPSimplifyMarketData)
.def("unSubscribeSPSimplifyMarketData", &MdApi::unSubscribeSPSimplifyMarketData)
.def("subscribeSPSecurityStatus", &MdApi::subscribeSPSecurityStatus)
.def("unSubscribeSPSecurityStatus", &MdApi::unSubscribeSPSecurityStatus)
.def("subscribeSPMarketStatus", &MdApi::subscribeSPMarketStatus)
.def("unSubscribeSPMarketStatus", &MdApi::unSubscribeSPMarketStatus)
.def("reqInquirySPMarketDataMirror", &MdApi::reqInquirySPMarketDataMirror)
.def("subscribeRapidMarketData", &MdApi::subscribeRapidMarketData)
.def("unSubscribeRapidMarketData", &MdApi::unSubscribeRapidMarketData)

.def("onFrontConnected", &MdApi::onFrontConnected)
.def("onFrontDisconnected", &MdApi::onFrontDisconnected)
.def("onRspGetConnectionInfo", &MdApi::onRspGetConnectionInfo)
.def("onRspUserLogin", &MdApi::onRspUserLogin)
.def("onRspUserLogout", &MdApi::onRspUserLogout)
.def("onRspSubMarketData", &MdApi::onRspSubMarketData)
.def("onRspUnSubMarketData", &MdApi::onRspUnSubMarketData)
.def("onRspSubPHMarketData", &MdApi::onRspSubPHMarketData)
.def("onRspUnSubPHMarketData", &MdApi::onRspUnSubPHMarketData)
.def("onRspSubSpecialMarketData", &MdApi::onRspSubSpecialMarketData)
.def("onRspUnSubSpecialMarketData", &MdApi::onRspUnSubSpecialMarketData)
.def("onRspSubSimplifyMarketData", &MdApi::onRspSubSimplifyMarketData)
.def("onRspUnSubSimplifyMarketData", &MdApi::onRspUnSubSimplifyMarketData)
.def("onRspSubSecurityStatus", &MdApi::onRspSubSecurityStatus)
.def("onRspUnSubSecurityStatus", &MdApi::onRspUnSubSecurityStatus)
.def("onRspSubMarketStatus", &MdApi::onRspSubMarketStatus)
.def("onRspUnSubMarketStatus", &MdApi::onRspUnSubMarketStatus)
.def("onRspSubImcParams", &MdApi::onRspSubImcParams)
.def("onRspUnSubImcParams", &MdApi::onRspUnSubImcParams)
.def("onRspInquiryMarketDataMirror", &MdApi::onRspInquiryMarketDataMirror)
.def("onRspInquiryPHMarketDataMirror", &MdApi::onRspInquiryPHMarketDataMirror)
.def("onRspInquirySpecialMarketDataMirror", &MdApi::onRspInquirySpecialMarketDataMirror)
.def("onRspSubSPMarketData", &MdApi::onRspSubSPMarketData)
.def("onRspUnSubSPMarketData", &MdApi::onRspUnSubSPMarketData)
.def("onRspSubSPSimplifyMarketData", &MdApi::onRspSubSPSimplifyMarketData)
.def("onRspUnSubSPSimplifyMarketData", &MdApi::onRspUnSubSPSimplifyMarketData)
.def("onRspSubSPSecurityStatus", &MdApi::onRspSubSPSecurityStatus)
.def("onRspUnSubSPSecurityStatus", &MdApi::onRspUnSubSPSecurityStatus)
.def("onRspSubSPMarketStatus", &MdApi::onRspSubSPMarketStatus)
.def("onRspUnSubSPMarketStatus", &MdApi::onRspUnSubSPMarketStatus)
.def("onRspInquirySPMarketDataMirror", &MdApi::onRspInquirySPMarketDataMirror)
.def("onRtnMarketData", &MdApi::onRtnMarketData)
.def("onRtnPHMarketData", &MdApi::onRtnPHMarketData)
.def("onRtnSpecialMarketData", &MdApi::onRtnSpecialMarketData)
.def("onRtnSimplifyMarketData", &MdApi::onRtnSimplifyMarketData)
.def("onRtnSecurityStatus", &MdApi::onRtnSecurityStatus)
.def("onRtnMarketStatus", &MdApi::onRtnMarketStatus)
.def("onRtnImcParams", &MdApi::onRtnImcParams)
.def("onRtnSPMarketData", &MdApi::onRtnSPMarketData)
.def("onRtnSPSimplifyMarketData", &MdApi::onRtnSPSimplifyMarketData)
.def("onRtnSPSecurityStatus", &MdApi::onRtnSPSecurityStatus)
.def("onRtnSPMarketStatus", &MdApi::onRtnSPMarketStatus)
.def("onRspSubRapidMarketData", &MdApi::onRspSubRapidMarketData)
.def("onRspUnSubRapidMarketData", &MdApi::onRspUnSubRapidMarketData)
.def("onRtnRapidMarketData", &MdApi::onRtnRapidMarketData)
;
